{% extends 'base.html' %}
{% block bar %}
<div class="col-md-9" style=  "justify-content: flex-end;">
            <h1 class="page-header">商品管理页面</h1>
        <div class="panel panel-primary">
                <!-- Default panel contents -->
        <div class="panel-heading">修改商品<i class="fa fa-thumb-tack pull-right"></i></div>
            <div class="panel-body">
                <div class="row" style="margin-bottom: 15px">
                    <div class="col-md-4">
                            <div class="input-group">
                            </div><!-
                        </div><!- /input-group -->
                        </div><!-- /.col-md-4 -->
            </div>
        </div>
</div>
{% endblock %}

{% block main %}
     <form action="" method="post">
    {% csrf_token %}
      <p>
         <input type="hidden" name="id" value="{{ goods_obj.id }}">

     <p>
            &nbsp商品名称：<input type="text" name="goods_name" value="{{ goods_obj.goods_name }}">
        </p>
        <p>
            &nbsp规格型号：<input type="text" name="goods_type" value="{{ goods_obj.goods_type }}">
        </p>
        <p>
            &nbsp商品单价：<input type="text" name="goods_price" value="{{ goods_obj.goods_price }}">
        </p>
        <p>
            &nbsp单&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp位：<input type="text" name="unit" value="{{ goods_obj.unit }}">
        </p>
        <p>
            &nbsp备&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp注：<input type="text" name="remarks" value="{{ goods_obj.remarks }}">
        </p>
        <p>
            &nbsp&nbsp<button type="submit" class="btn">提交</button>
        </p>

</form>


{% endblock %}

